import {Chart, LineAdvance} from "bizcharts";
import ProCard from "@ant-design/pro-card";

export default (props: any) => {
  return (
    <ProCard bodyStyle={{padding: "5px"}}>
      <Chart padding={[10, 20, 50, 40]} autoFit height={260} data={props.data} >
        <LineAdvance
          shape="smooth"
          point
          area
          position="month*temperature"
          color="city"
        />
      </Chart>
    </ProCard>
  )
}
